<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--我们把hello程序部署到了web上，所以我们通过访问a.html然后提交按钮发出响应给我们在web服务器上配置的hello程序-->
    <form action="http://localhost:8080/Servlet/hello3" method="get">
        <input type="submit">
    </form>
    <form action="http://localhost:8080/Servlet/hello3" method="post">
        用户名：<input type="text" name="username"><br>
        密码：<input type="password" name="password"><br>
        爱好:<input type="checkbox" name="hobby" value="C++">C++
        <input type="checkbox" name="hobby" value="JAVA">JAVA
        <input type="submit">
    </form>
</body>
</html>